package edu.ec.java02.group02.mapper;


import edu.ec.java02.group02.common.base.mapper.BaseMapper;
import edu.ec.java02.group02.domain.Cart;

import java.util.List;

public interface CartMapper extends BaseMapper<Cart> {

    boolean addCart(Cart cart);

    Cart findProductById(Integer uid,Integer pid);

    boolean updateCart(Cart cart);

    List<Cart> findCartInfoById(Integer uid);

    boolean delProduct(Cart cart);

}